﻿<!DOCTYPE HTML>
<html>
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=11,IE=10,IE=9,IE=8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
	<meta name="apple-mobile-web-app-title" content="static7博客">
	<meta http-equiv="Cache-Control" content="no-siteapp">
	<meta name="keywords" content="一个网站, 一个牛x的网站">
	<meta name="description" content="本站是一个高端大气上档次的网站">
	<title>TeaCMS</title>
	<link rel='stylesheet' href='${webConfig.domainName}/views/ThemeBetter/css/bootstrap.min.css' type='text/css' media='all' />
	<link rel='stylesheet' href='${webConfig.domainName}/views/ThemeBetter/css/font-awesome.min.css' type='text/css' media='all' />
	<link rel='stylesheet' href='${webConfig.domainName}/views/ThemeBetter/css/main.css' type='text/css' media='all' />
	<link rel="shortcut icon" href="/favicon.ico">
	<script type='text/javascript' src='${webConfig.domainName}/views/ThemeBetter/js/jquery.min.js'></script>
	<!--[if lt IE 9]>
	<script src="${webConfig.domainName}/views/ThemeBetter/js/html5.min.js"></script>
	<![endif]-->
</head>
<body class="home blog nav_fixed site-layout-2 ">
	<header class="header">
		<div class="container">
			<h1 class="logo">
				<a href="" title="TeaCMS">
					<img src="">TeaCMS</a>
			</h1>
			<div class="brand">
				欢迎光临<br>我们一直在努力</div>
			<ul class="site-nav site-navbar">
				<li id="menu-item-6" class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-6">
					<a href="/"> <i class="fa fa-home"></i>
						首页
					</a>
				</li>
				<li id="menu-item-118" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-118">
					<a>
						<i class="fa fa-file-text-o"></i>
						分类
					</a>					
					<ul class="sub-menu">
		                <#list allCategory as item>
		                    <liclass="menu-item menu-item-type-post_type menu-item-object-page menu-item-123">
		                    	<a href="${webConfig.domainName}/category/${item.alias}">${item.name}</a>
						    </li>
		                </#list>
	                </ul>
					
				</li>
				<li class="navto-search">
					<a href="javascript:;" class="search-show active">
						<i class="fa fa-search"></i>
					</a>
				</li>
			</ul>
			<i class="fa fa-bars m-icon-nav"></i>
		</div>
	</header>
	<div class="site-search">
		<div class="container">
			<form method="get" class="site-search-form" action="/" >
				<input class="search-input" name="s" type="text" placeholder="输入关键字" value="">
				<button class="search-btn" type="submit">
					<i class="fa fa-search"></i>
				</button>
			</form>
		</div>
	</div>
	<section class="container">
		<div class="content-wrap">
			<div class="content">
				<div id="carousel-example-generic" class="carousel slide teacms-carousel-box" data-ride="carousel">
				<div id="focusslide"  class="carousel slide" data-ride="carousel">
                    <div class="carousel-inner teacms-carousel-inner">
					<#list blogroll as item>
                        <div class="item <#if item_index = 0>active</#if>">
                            <a href="${webConfig.domainName}/${item.id}.html">
                                <img src="${item.articleImg}" alt="${item.articleTitle}" class="img-responsive" style="height: 455.55px;width: 820px">
                                <div class="carousel-caption">
                                    <h3>${item.articleTitle}</h3>
									<#assign content = item.articleContent?replace("<[^>]*>", "", "r")?replace(" ", "")>
                                    <p>
										<#if content?length &gt; 30>
                                ${content?substring(0, 30)}
                                <#else>
										${content}
										</#if>
                                    </p>
                                </div>
                            </a>
                        </div>
					</#list>
                    </div>

					<a class="left carousel-control" href="#focusslide" role="button" data-slide="prev">
						<i class="fa fa-angle-left"></i>
					</a>
					<a class="right carousel-control" href="#focusslide" role="button" data-slide="next">
						<i class="fa fa-angle-right"></i>
					</a>
				</div>
					</div>
			<#list articlePage.list as item>
				<article class="excerpt excerpt-2">
					<a class="focus" href="${webConfig.domainName}/${item.id}.html">
						<img src="${item.articleImg}" class="thumb"></a>
					<header>
						<a class="cat" href="">

							<i></i>
						</a>
						<h2>
							<a href="${webConfig.domainName}/${item.id}.html" title="${item.articleTitle}">${item.articleTitle}</a>
						</h2>
					</header>
					<p class="meta">
						<time>
							<i class="fa fa-clock-o"></i>
							${item.updateDate?date}
						</time>
						<span class="author">
							<i class="fa fa-user"></i>
							admin
						</span>
						<span class="pv">
							<i class="fa fa-eye"></i>
							阅读(${item.pageView})
						</span>
						<a class="pc" href="/129.html#respond">
							<i class="fa fa-comments-o"></i>
							评论(${item.praise})
						</a>
					</p>
					<p class="note">
					<#assign content = item.articleContent?replace("<[^>]*>", "", "r")?replace(" ", "")>
                    <#if content?length &gt; 150>
                    ${content?substring(0, 150)}[...]
                    <#else>
                    ${content}
                    </#if>
					</p>
				</article>
			</#list>
				<div class="pagination">
					<ul class="pagination teacms-pagination">
		            <#if articlePage.isFirstPage == false>
		                <li><a href="${webConfig.domainName}/page/${articlePage.prePage}">«</a></li></#if>
		            <#list articlePage.navigatepageNums as item>
		                <li <#if articlePage.pageNum == item>class="active"</#if>><a
		                        href="${webConfig.domainName}/page/${item}">${item}</a></li>
		            </#list>
		            <#if articlePage.isLastPage == false>
		                <li><a href="${webConfig.domainName}/page/${articlePage.nextPage}">»</a></li></#if>
		            </ul>
				</div>
			</div>
		</div>
		<aside class="sidebar">
		<div class="widget widget_ui_textasb">
				<a class="style02" href="/theme/dux"> <strong>网站公告</strong>
					<h2>TeaCMS</h2>
					<p>
						
					</p>
				</a>
			</div>
			<div class="widget widget-tops">
				<h3>网站广告</h3>
				<ul class="widget-navcontent">
					<li class="item item-01 active">
			            <div class="panel-body">
			                <a href="">
			                    <img src="http://www.xiaobingby.com/wp-content/uploads/2016/04/qcloud-logo.jpg" alt="" class="img-responsive"/>
			                </a>
			            </div>
					</li>
				</ul>
			</div>
			
			<div class="widget widget_ui_posts">
				<h3>最新文章</h3>
				<ul>
				<#assign n=0>
				<#list newArticleTop6 as item>
				<#assign n=n+1>
                    <li>
                        <a href="${webConfig.domainName}/${item.id}.html">
							<span class="thumbnail">
								<img src="${item.articleImg}" class="thumb"></span>
                            <span class="text">
							${item.articleTitle}
							</span>
                            <span class="muted">${item.updateDate?date}</span>
                            <span class="muted">评论(${item.praise})</span>
                        </a>
                    </li>
				<#if n = 3 >
				<#break>
				</#if>
				</#list>
				</ul>
				
			</div>
			<div class="widget widget_ui_posts">
				<h3>热门文章</h3>
				<ul>
				<#assign n=0>
				<#list viewArticleTop6 as item>
				<#assign n=n+1>
					<li>
						<a href="${webConfig.domainName}/${item.id}.html">
							<span class="thumbnail">
								<img src="${item.articleImg}" class="thumb"></span>
							<span class="text">
								${item.articleTitle}
							</span>
							<span class="muted">${item.updateDate?date}</span>
							<span class="muted">评论(${item.praise})</span>
						</a>
					</li>
					<#if n = 3 >
						<#break>
					</#if>
				</#list>
				</ul>							
			</div>
			<div class="widget widget_ui_ads">
				<!-- 广告 -->
			</div>

			<div class="widget widget_ui_tags">
				<h3>热门标签</h3>
				<div class="items">
					<#list allTag as item>
	                    <a href="${webConfig.domainName}/tag/${item.alias}">${item.name}</a>
	                </#list>
				</div>
			</div>
			<div class="widget widget_ui_statistics">
				<!-- <h3>网站统计</h3> -->
			</div>
		</aside>
	</section>
	<footer class="footer">
		<div class="container">
			<div class="flinks">
				

			</div>
			<!-- <div class="fcode">该块显示在网站底部版权上方，可已定义放一些链接或者图片之类的内容。</div> -->
			<p>
			© 2017 TeaCMS   码云   10086	
			</p>
			<div class="hide">
			</div>
		</div>
	</footer>
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="${webConfig.domainName}/views/TeaCMS/assets/jquery/jquery-1.10.2.js"></script>
    <script src="${webConfig.domainName}/views/TeaCMS/assets/jquery/jquery-ui.custom.min.js"></script>

	<script type='text/javascript' src='${webConfig.domainName}/views/ThemeBetter/js/bootstrap.min.js'></script>
	<script type='text/javascript' src='${webConfig.domainName}/views/ThemeBetter/js/wp-embed.min.js'></script>、
	<script type='text/javascript' src='${webConfig.domainName}/views/ThemeBetter/js/main.js'></script>
</body>
</html>